home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung / Power-Programmierung (Tewi)(1994).iso / magazine / c_news / 07 / clstest.c < prev    next >
Text File  |  1988-05-04  |  326b  |  14 lines

  1. #include    <stdio.h>
  2. #include    <dos.h>
  3.  
  4. void extern fast_cls();      /* declare function to be external to the main
  5.                 program file */
  6.  
  7. main()
  8. {
  9.     register int loop;
  10.     for (loop=0; loop<2000; loop++)  /* fill screen with asterisks */
  11.        printf("*");
  12.     sleep(1);                        /* wait a sec */
  13.     fast_cls();
  14. }